package com.demo.base.oss.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author 曳戈泰尔
 * @version 1.0
 * @description OSS配置类
 * @date 2023/3/10 7:32 PM
 */
@Configuration
@Data
public class OssConfig {

    @Value("${aliyun.oss.end-point}")
    private String endPoint;

    @Value("${aliyun.oss.key-id}")
    private String keyId;

    @Value("${aliyun.oss.key-secret}")
    private String keySecret;

    @Value("${aliyun.oss.bucket-name}")
    private String bucketName;

    @Value("${aliyun.oss.file-location}")
    private String fileLocation;

    @Value("${aliyun.oss.file-host}")
    private String fileHost;
}
